﻿using System;
using System.Data.Entity.ModelConfiguration;
using System.Data.Common;
using System.Data.Entity;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using MobileWebsiteGenerator.Entities;

namespace MobileWebsiteGenerator.Mapping
{
    public class WebMetaRelMap : EntityTypeConfiguration<WebMetaREL>
    {
        public WebMetaRelMap()
		{
			// Primary Key

            this.HasKey(t => t.Web_Meta_id);
			// Properties
			// Table & Column Mappings
            this.ToTable("WebMetaREL");
            this.Property(t => t.Web_Meta_id).HasColumnName("Web_Meta_id");
            this.Property(t => t.Web_id).HasColumnName("Web_id");
            this.Property(t => t.Meta_ID).HasColumnName("Meta_ID");
           
		}


    }
}